import 'package:play_android/com/zhihaoliang/base/BaseModel.dart';

import 'TreeClass.dart';

import 'package:json_annotation/json_annotation.dart';

part 'TreeModel.g.dart';

///  ***************************************************************************
///   知识分类的Model
///  ***************************************************************************

@JsonSerializable()
class TreeModel extends BaseModel<List<TreeClass>>{

  TreeModel();

  factory TreeModel.fromJson(Map<String, dynamic> json) =>
      _$TreeModelFromJson(json);

  Map<String, dynamic> toJson() => _$TreeModelToJson(this);
}